package com.xiaoshuidi.cloud.module.rooms.service;

import com.xiaoshuidi.cloud.framework.common.pojo.CommonResult;
import com.xiaoshuidi.cloud.module.rooms.controller.admin.iot.vo.RoomDiviceAssociationVo;
import com.xiaoshuidi.cloud.module.rooms.controller.admin.nonIntelligentDevice.vo.DepRoomDevicePriceVO;
import com.xiaoshuidi.cloud.module.rooms.controller.admin.nonIntelligentDevice.vo.RoomDevicePriceAssociationVO;
import com.xiaoshuidi.cloud.module.rooms.pojo.RoomDevicePriceAssociation;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 水电煤阶梯价格关联表 服务类
 * </p>
 *
 * @author James
 * @since 2023-06-07
 */
public interface IRoomDevicePriceAssociationService extends IService<RoomDevicePriceAssociation> {
    List<RoomDiviceAssociationVo> getAssociationList(Long devicePriceId);

    CommonResult<String> setPriceToRoom(RoomDevicePriceAssociationVO roomDevicePriceAssociationVO);

    CommonResult<List<DepRoomDevicePriceVO>> findAllRoomId(long devicePriceId);
}
